.class Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;
.super Ljava/lang/Object;
.source "MessageAdapter.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;

.field final synthetic val$message:Lcom/brixd/niceapp/userinfo/model/MessageModel;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;Lcom/brixd/niceapp/userinfo/model/MessageModel;)V
    .registers 3
    .param p1, "this$0"    # Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;

    .prologue
    .line 161
    iput-object p1, p0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;->this$0:Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;

    iput-object p2, p0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;->val$message:Lcom/brixd/niceapp/userinfo/model/MessageModel;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 4
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 165
    const-string v0, "community_up"

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;->val$message:Lcom/brixd/niceapp/userinfo/model/MessageModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/userinfo/model/MessageModel;->getType()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5d

    .line 166
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;->this$0:Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;

    # getter for: Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;->mContext:Landroid/content/Context;
    invoke-static {v0}, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;->access$000(Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "MessagePageClickUpAppIcon"

    invoke-static {v0, v1}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 173
    :goto_19
    const-string v0, "community_up"

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;->val$message:Lcom/brixd/niceapp/userinfo/model/MessageModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/userinfo/model/MessageModel;->getType()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_43

    const-string v0, "community_comment"

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;->val$message:Lcom/brixd/niceapp/userinfo/model/MessageModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/userinfo/model/MessageModel;->getType()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_43

    const-string v0, "community_reply"

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;->val$message:Lcom/brixd/niceapp/userinfo/model/MessageModel;

    .line 174
    invoke-virtual {v1}, Lcom/brixd/niceapp/userinfo/model/MessageModel;->getType()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_83

    .line 175
    :cond_43
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;->this$0:Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;

    # getter for: Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;->mDetailRequestCacheUtil:Lcom/brixd/niceapp/util/DetailRequestCacheUtil;
    invoke-static {v0}, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;->access$100(Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;)Lcom/brixd/niceapp/util/DetailRequestCacheUtil;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;->setScrollToUpUsersInCommunityDetail(Z)V

    .line 176
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;->this$0:Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;

    # getter for: Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;->mDetailRequestCacheUtil:Lcom/brixd/niceapp/util/DetailRequestCacheUtil;
    invoke-static {v0}, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;->access$100(Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;)Lcom/brixd/niceapp/util/DetailRequestCacheUtil;

    move-result-object v0

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;->val$message:Lcom/brixd/niceapp/userinfo/model/MessageModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/userinfo/model/MessageModel;->getAppId()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;->gotoCommunityDetail(I)V

    .line 182
    :cond_5c
    :goto_5c
    return-void

    .line 167
    :cond_5d
    const-string v0, "community_comment"

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;->val$message:Lcom/brixd/niceapp/userinfo/model/MessageModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/userinfo/model/MessageModel;->getType()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_77

    .line 168
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;->this$0:Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;

    # getter for: Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;->mContext:Landroid/content/Context;
    invoke-static {v0}, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;->access$000(Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "MessagePageClickCommentAppIcon"

    invoke-static {v0, v1}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_19

    .line 170
    :cond_77
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;->this$0:Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;

    # getter for: Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;->mContext:Landroid/content/Context;
    invoke-static {v0}, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;->access$000(Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "MessagePageClickReplayAppIcon"

    invoke-static {v0, v1}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_19

    .line 177
    :cond_83
    const-string v0, "daily_reply"

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;->val$message:Lcom/brixd/niceapp/userinfo/model/MessageModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/userinfo/model/MessageModel;->getType()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_a1

    .line 178
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;->this$0:Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;

    # getter for: Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;->mDetailRequestCacheUtil:Lcom/brixd/niceapp/util/DetailRequestCacheUtil;
    invoke-static {v0}, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;->access$100(Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;)Lcom/brixd/niceapp/util/DetailRequestCacheUtil;

    move-result-object v0

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;->val$message:Lcom/brixd/niceapp/userinfo/model/MessageModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/userinfo/model/MessageModel;->getAppId()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;->gotoNiceDailyDetail(I)V

    goto :goto_5c

    .line 179
    :cond_a1
    const-string v0, "media_reply"

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;->val$message:Lcom/brixd/niceapp/userinfo/model/MessageModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/userinfo/model/MessageModel;->getType()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5c

    .line 180
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;->this$0:Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;

    # getter for: Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;->mDetailRequestCacheUtil:Lcom/brixd/niceapp/util/DetailRequestCacheUtil;
    invoke-static {v0}, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;->access$100(Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;)Lcom/brixd/niceapp/util/DetailRequestCacheUtil;

    move-result-object v0

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter$3;->val$message:Lcom/brixd/niceapp/userinfo/model/MessageModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/userinfo/model/MessageModel;->getAppId()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;->gotoNiceGoodsDetail(I)V

    goto :goto_5c
.end method
